package com.neuedu.nevserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.neuedu.nevserver.dto.NodeInfoTypeDTO;
import com.neuedu.nevserver.pojo.NodeInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.nevserver.vo.NodeInfoTypeVO;
import com.neuedu.nevserver.vo.ResultVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sjy
 * @since 2025-03-18
 */
public interface NodeInfoService extends IService<NodeInfo> {
    //流通节点登录
    public ResultVO<NodeInfo> nodeLogin(String code, String password) throws Exception;
    //流通节点注册
    public ResultVO nodeRegister(NodeInfo nodeInfo) throws Exception;
    //流通节点查询
    public ResultVO<List<NodeInfo>> listNode(NodeInfo nodeInfo) throws Exception;
    //分页查询流通节点信息及其企业类型信息
    public ResultVO<IPage<NodeInfoTypeVO>> pageNodeInfoType(NodeInfoTypeDTO nodeInfoTypeDTO) throws Exception;
}
